package chapter15;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2018-03-26 下午4:36
 */
public interface IDao<T> {
    public boolean insert(T t);

    public T selectOne(String condition, Object... params);

    public List<T> selectAll();

    public boolean update(T t, String condition, Object... params);

    public boolean del(String condition, Object... params);
}
